<?php

namespace myshop\system\model;

use longhu\base\BaseModel as Model;
use longhu\traits\db\BaseOptionsTrait;
use longhu\traits\db\ScopeTrait;
/**
 *
 * @property int $id
 * @property string $type
 * @property int $parent_id
 * @property string $code
 * @property string $code_path
 * @property string $title
 * @property string $path_title
 * @property int $status
 * @property int $sort
 * @property int $created_at
 * @property int $updated_at
 * @property int $deleted_at
 */
class SysOptions extends Model
{
    use BaseOptionsTrait, ScopeTrait;
    
    
    public $field = [
        // 
        'id',
        // 类别
        'type',
        // 
        'parent_id',
        // 值
        'code',
        // 
        'code_path',
        // 
        'title',
        // 
        'path_title',
        // 
        'status',
        // 
        'sort',
        // 
        'created_at',
        // 
        'updated_at',
        // 
        'deleted_at',
    ];
    
    
    public $name = 'sys_options';
}